﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="wucVitrine.ascx.cs" Inherits="Manicure.Includes.wucVitrine" %>
 


<html>

    <head>

        <title> </title>
<!--Como este Web user control pode ser utilizado em qualquer cliente, criei uma pasta chamada script -->

<script async="" src="//www.google-analytics.com/analytics.js"></script>
 <script type="text/javascript" src="Includes/scripts2/jquery-1.9.1.min.js"></script>
 <script type="text/javascript" src="Includes/scripts2/modernizr-2.5.3.js"></script>


<script src="Includes/scripts2/jquery.jcarousel.min.js" type="text/javascript"></script>
<script src="Includes/scripts2/jquery.bxslider.min.js" type="text/javascript"></script>


<link href="Includes/scripts2/jquery.bxslider.css" type="text/css" rel="stylesheet">
<script src="Includes/scripts2/notNow.js" type="text/javascript"></script>
<script src="Includes/scripts2/home.js" type="text/javascript"></script>
<link href="Includes/scripts2/jcarousel.css" type="text/css" rel="stylesheet">
<link href="Includes/scripts2/vitrine.css" type="text/css" rel="stylesheet">

 <script type="text/javascript">

     jQuery(document).ready(function () {



         $('.bxslider').bxSlider({
             auto: true,
             autoControls: true
         });
     });</script>

 
    
 </head>


    <body>


<div class="destaque">

        <div class="slider">
            <ul class="bxslider">
                <asp:Repeater  runat="server" ID="repProdutosVitrine">
                    <ItemTemplate>
                        <li class="item">
                            <div class="produto">
                                <div class="info">
                                    <h3><%#DataBinder.Eval(Container.DataItem, "produto")%></h3>
                                    <h4><%#DataBinder.Eval(Container.DataItem, "descricao")%></h4>
                                    <a href="Produto.aspx?idProduto=<%# DataBinder.Eval(Container.DataItem, "IdProduto") %>" class="bt-saiba">Saiba Mais</a>
                                    <div class="valor">
                                        <small><%#Convert.ToBoolean(DataBinder.Eval(Container.DataItem, "valorDe"))? (Convert.ToSingle(DataBinder.Eval(Container.DataItem, "valorDe")) <= Convert.ToSingle(DataBinder.Eval(Container.DataItem, "valor"))) ? string.Concat("de: R$",string.Format("R$",Convert.ToSingle(DataBinder.Eval(Container.DataItem, "valorDe")))) : "" : "" %></small>
                                        <span>Por
                                            <br />
                                            R$ </span>
                                        <strong><%#string.Format("R$",Convert.ToSingle(DataBinder.Eval(Container.DataItem, "valor")))%></strong>
                                    </div>
                                </div>
                                <div class="foto">
                                    <img src="<%#DataBinder.Eval(Container.DataItem, "urlImagem")%>" />
                                </div>
                            </div>
                        </li>
                    </ItemTemplate>
                </asp:Repeater>

            </ul>
        </div>

     </div>

        </body>

    </html>
